.taskBar-enter-active {
  transition: all 0.3s;
  // position: fixed;
}

.taskBar-leave-active {
  transition: all 0.5s;
  // position: fixed;
}

.taskBar-enter-from,
.taskBar-leave-to {
  // position: fixed;
  // top: 74vh;
  // left: 34vw;
  transform: scale(0.2) translateY(-100%);
  opacity: 0;
}
.taskBar {
  z-index: 999999999;
  height: $taskBar-height;
  width: 100%;
  // background-color: pink;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  .aliveBar {
    height: $aliveBar-height;
    width: $aliveBar-height;
    // background-color: crimson;
    margin: 0 0.2%;
    transition: all 0.3s;
    border-radius: 40%;
    border: solid;
    border-width: 0;
    background-color: rgba(255, 255, 255, 0);
    position: relative;
    .aliveBarLogo {
      z-index: 2;
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      flex-direction: column;
      height: 100%;
      width: 100%;
      font-size: 36px;

      .aliveBarFlag {
        height: 0;
        border: solid;
        border-width: 0 0 2px 0;
        border-color: $theme-color-noalive;
        width: 50%;
        border-radius: 2px;
        transition: 0.3s;
      }
    }
  }

  .hoverDialog {
    margin-top: calc((-2.5vw) - 20px);
    font-size: 16px;
    background-color: $theme-color-noalive-white;
    // translate: calc(-50% + 1.25vw) 0;
    // translate: -50% 0;
    transform: translateX(calc(-50%));
    opacity: 0;
    position: absolute;
    transition: 0.3s;
    z-index: 1;
    left: 50%;
    white-space: nowrap;
    .target {
      width: 0;
      height: 0;
      border: solid;
      border-top: 6px solid $theme-color-noalive-white;
      border-right: 6px solid rgba(255, 255, 255, 00);
      border-bottom: 6px solid rgba(255, 255, 255, 0);
      border-left: 6px solid rgba(255, 255, 255, 0);
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%) translateY(99%);
    }
  }

  .aliveBarHover {
    background-color: $theme-color-alive;
    border-radius: 10%;
    height: $aliveBar-height-hover;
    width: $aliveBar-height-hover;
    position: relative;
    .aliveBarLogo {
      z-index: 99999;
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      flex-direction: column;
      height: 100%;
      width: 100%;
      font-size: 36px;

      .aliveBarFlag {
        height: 0;
        border: solid;
        border-width: 0 0 2px 0;
        border-color: $theme-color;
        width: 80%;
        border-radius: 2px;
        transition: 0.3s;
      }
    }

    .target {
      opacity: 1;
    }
  }
  .aliveBar:hover,
  .aliveBarHover:hover {
    background-color: $theme-color-alive;
    border-radius: 10%;
    animation-name: jump;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 99999;
    @keyframes jump {
      to {
        transform: translateY(-30%);
        height: $aliveBar-height-hover;
        width: $aliveBar-height-hover;
      }
    }
    .aliveBarFlag {
      animation-name: toLang;
      animation-duration: 0.5s;
      animation-iteration-count: infinite;
      animation-direction: alternate;
    }
    @keyframes toLang {
      to {
        width: 80%;
        border-color: $theme-color;
      }
    }
    .hoverDialog {
      position: absolute;
      white-space: nowrap;
      margin-top: calc(-2.5vw - 32px);
      font-size: 16px;
      background-color: hsla(0, 0%, 100%, 0.9);
      transform: translateX(calc(-50%));
      opacity: 1;
      transition: 0.3s;
      z-index: 1;
      left: 50%;
      .target {
        width: 0;
        height: 0;
        border: solid;
        border-top: 6px solid $theme-color-noalive-white;
        border-right: 6px solid rgba(255, 255, 255, 00);
        border-bottom: 6px solid rgba(255, 255, 255, 0);
        border-left: 6px solid rgba(255, 255, 255, 0);
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) translateY(99%);
      }
    }
  }
  .task-notice {
    position: absolute;
    // height: 100%;
    font-size: 32px;
    right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    padding: 2px;
    border-radius: 5px;
  }
  .task-notice:hover {
    background-color: $theme-color-alive;
  }
}
